﻿using System;
using System.IO;

namespace Sunny.Service
{
    public class Base64Helper
    {
        public string ConvertImage(byte[] buffer)
        {
            using (MemoryStream memoryStream = new MemoryStream())
            {
                return Convert.ToBase64String(buffer);
            }
        }
    }
}